﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eaf.Net.Core.Entity;

namespace Hfm.Common.Entity.Contract
{
    public class ContractEntity : BaseEntity
    {
        public int ID { get; set; }
        public string ContractName { get; set; }
        public string ContractNumber { get; set; }
        public DateTime? StartData { get; set; }
        public int ContractPeriod { get; set; }
        public DateTime? AcceptedDate { get; set; }
        public int Status { get; set; }
        public int CustomerID { get; set; }
        public string Description { get; set; }
        public string TermsAndConditions { get; set; }
        public string Remarks { get; set; }
        public ContractEntity()
        {
    
        }
        public ContractEntity(ContractEntity con)
        {
            this.ID = con.ID;
            this.ContractName = con.ContractName;
            this.ContractNumber = con.ContractNumber;
            this.StartData = con.StartData;
            this.ContractPeriod = con.ContractPeriod;
            this.AcceptedDate = con.AcceptedDate;
            this.Status = con.Status;
            this.CustomerID = con.CustomerID;
            this.Description = con.Description;
            this.TermsAndConditions = con.TermsAndConditions;
            this.Remarks = this.Remarks;
        }
        
    }
}
